﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;
using System.Diagnostics;
using WP7UIKit.Model;

namespace WP7UIKit.Views
{
    public partial class WaterFallDemoPage : PhoneApplicationPage
    {
        public WaterFallDemoPage()
        {
            InitializeComponent();
        }

        private void MyImageWall_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            DataItem item = MyImageWall.SelectedItem as DataItem;
            if (item != null)
            {
                Debug.WriteLine("url:" + item.Url.ToString());
            }
        }
    }
}